<html>
	<head>
		<title> File Uploads </title>
	</head>	

	<body>
{{HTML::image($data->group_avatar)}}
		<form action="{{route('group.upload_image',$data->id)}}" method="post" enctype="multipart/form-data">
			shopname: <input type="text" name="shopname" > <br>
			shopprice: <input type="text" name="price"> <br>
			shopnum : <input type="text" name="num"> <br>
			<input type="hidden" name="MAX_FILE_SIZE" value="100000000">
			shoppic: <input type="file" name="group_avatar"> <br>

			<input type="submit" name="sub" value="添加商品">
		</form>	
		<pre>
		{{$data->group_avatar}}
		{{dd($data)}}
		</pre>
</body>

</html>
